//1.导入express模块
const express = require('express');
//2.创建web服务器
const app = express();
app.use(express.static('./dist'))  
//3.调用app.listen()函数启动服务器
app.listen(8088, () => {
    console.log('running at http://127.0.0.1');
})